package com.example.j2025_11_11;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

@NoArgsConstructor
@AllArgsConstructor
@Data

public class Stduent {
    private String name;
    private Integer age;
    public void print(){
        System.out.println(this.name);
    }

}
